@layout("/common/_container.html"){
<style>
	.input-group{
		/*width:45%;*/
	}
	.row input[type=text],.form-control, .single-line{
	    width:35%;
        float:left;
    }
    .error{
        color:red;
        float:left;
        padding-top: 7px;
        padding-left: 10px;
    }
    .isShow label{
        padding-right:10px;
        padding-top:3px;
    }
	.input-group{
		width:60%;
		margin:0 auto;
	}
	.row input[type=text]{
	width:45%; 
    }
    .error{
        color:red;
    }
</style>
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <input type="hidden" id="catId" value="${item.catId}">
             <input type="hidden" id="isShowC" value="${item.isShow}">

            <div class="row">
             <#input id="catName" name="分类名称" value="${item.catName}" underline="false"/>
              <#input id="catSort" name="排序号" value="${item.catSort}" underline="false"/>
              <div style="displa:flex;width:900px;height:50px;line-height:30px;margin:0 auto;">
              <span>是否显示</span> 
                 <input type="radio" id="isShow" name="isShow" value="1"  />显示
				 <input type="radio" id="isNotShow" name="isShow" value="0" />隐藏
				<!-- <script>
              		let isShow = ${item.isShow} == '1'
              		$('#isShow').attr('checked', isShow),
              		$('#isNotShow').attr('checked', !isShow);
              	</script> -->	
              	</div>
            <!-- 
                <div class="col-sm-6 b-r">
                            <#input id="catId" name="" value="${item.catId}" underline="true"/>
                            <#input id="parentId" name="" value="${item.parentId}" underline="true"/>
                            <#input id="catType" name="" value="${item.catType}" underline="true"/>
                            <#input id="isShow" name="" value="${item.isShow}" />
                </div>

                <div class="col-sm-6">
                            <#input id="catName" name="" value="${item.catName}" underline="true"/>
                            <#input id="catSort" name="" value="${item.catSort}" underline="true"/>
                            <#input id="dataFlag" name="" value="${item.dataFlag}" underline="true"/>
                            <#input id="createTime" name="" value="${item.createTime}" />
                </div> -->
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10" style="text-align:center;">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="ArticleCatsInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="ArticleCatsInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/huamao/articleCats/articleCats_info.js"></script>
@}
